/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package bmacotada.orm;

public class Paciente_1 {
	public Paciente_1() {
	}
	
	private java.util.Set this_getSet (int key) {
		if (key == bmacotada.orm.ORMConstants.KEY_PACIENTE_1_CUESTIONARIO_1) {
			return ORM_cuestionario_1;
		}
		
		return null;
	}
	
	org.orm.util.ORMAdapter _ormAdapter = new org.orm.util.AbstractORMAdapter() {
		public java.util.Set getSet(int key) {
			return this_getSet(key);
		}
		
	};
	
	private int pa_id_paciente;
	
	private int rut;
	
	private String nombre;
	
	private int edad;
	
	private int telefono;
	
	private String direccion;
	
	private java.util.Set ORM_cuestionario_1 = new java.util.HashSet();
	
	public void setRut(int value) {
		this.rut = value;
	}
	
	public int getRut() {
		return rut;
	}
	
	public void setNombre(String value) {
		this.nombre = value;
	}
	
	public String getNombre() {
		return nombre;
	}
	
	public void setEdad(int value) {
		this.edad = value;
	}
	
	public int getEdad() {
		return edad;
	}
	
	public void setTelefono(int value) {
		this.telefono = value;
	}
	
	public int getTelefono() {
		return telefono;
	}
	
	public void setDireccion(String value) {
		this.direccion = value;
	}
	
	public String getDireccion() {
		return direccion;
	}
	
	private void setPa_id_paciente(int value) {
		this.pa_id_paciente = value;
	}
	
	public int getPa_id_paciente() {
		return pa_id_paciente;
	}
	
	public int getORMID() {
		return getPa_id_paciente();
	}
	
	private void setORM_Cuestionario_1(java.util.Set value) {
		this.ORM_cuestionario_1 = value;
	}
	
	private java.util.Set getORM_Cuestionario_1() {
		return ORM_cuestionario_1;
	}
	
	public final bmacotada.orm.Cuestionario_1SetCollection cuestionario_1 = new bmacotada.orm.Cuestionario_1SetCollection(this, _ormAdapter, bmacotada.orm.ORMConstants.KEY_PACIENTE_1_CUESTIONARIO_1, bmacotada.orm.ORMConstants.KEY_CUESTIONARIO_1_PACIENTE_1RUT, bmacotada.orm.ORMConstants.KEY_MUL_ONE_TO_MANY);
	
	public String toString() {
		return String.valueOf(getPa_id_paciente());
	}
	
}
